package com.yuan.dao.goods;

import java.sql.SQLException;
import java.util.List;

import org.springframework.dao.DataAccessException;

import com.yuan.goods.Goods;

public interface GoodsDao {

	/**
	 * Batch处理
	 * 
	 * @param goodses
	 * @throws DataAccessException
	 */
	public void save(List<Goods> goodses) throws SQLException;

	/**
	 * 读取今天
	 * 
	 * @return
	 * @throws SQLException
	 */
	public List<Goods> readToday(String tags) throws SQLException;

}
